package com.wjy.gateway.controller;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/gatewayTest")
public class TestController {

    @RequestMapping("/test")
    @SentinelResource("/gatewayTest/test")
    public String test() {
        return "测试";
    }
}
